﻿using Newtonsoft.Json;

namespace WMS.FC.Domain.DataTransferObject.Location
{
    public class AddLocationDTO
    {
        /// <summary>
        /// 产线编码
        /// </summary>
        [JsonProperty("line_code")]
        public string LineCode { get; set; } = string.Empty;

        /// <summary>
        /// 区域编码
        /// </summary>
        [JsonProperty("zone_code")]
        public string ZoneCode { get; set; } = string.Empty;

        /// <summary>
        /// 设备编码
        /// </summary>
        [JsonProperty("equipment_code")]
        public string EquipmentCode { get; set; } = string.Empty;

        /// <summary>
        /// 类型编码
        /// </summary>
        [JsonProperty("type_code")]
        public string TypeCode { get; set; } = string.Empty;

        /// <summary>
        /// 状态编码
        /// </summary>
        [JsonProperty("state_code")]
        public string StateCode { get; set; } = string.Empty;

        /// <summary>
        /// 使用状态编码
        /// </summary>
        [JsonProperty("use_state_code")]
        public string UseStateCode { get; set; } = string.Empty;

        /// <summary>
        /// 起始行
        /// </summary>
        [JsonProperty("start_line")]
        public int StartLine { get; set; }

        /// <summary>
        /// 终止行
        /// </summary>
        [JsonProperty("end_line")]
        public int EndLine { get; set; }

        /// <summary>
        /// 起始列
        /// </summary>
        [JsonProperty("start_column")]
        public int StartColumn { get; set; }

        /// <summary>
        /// 终止列
        /// </summary>
        [JsonProperty("end_column")]
        public int EndColumn { get; set; }

        /// <summary>
        /// 起始层
        /// </summary>
        [JsonProperty("start_layer")]
        public int StartLayer { get; set; }

        /// <summary>
        /// 终止层
        /// </summary>
        [JsonProperty("end_layer")]
        public int EndLayer { get; set; }

        /// <summary>
        /// 起始深度
        /// </summary>
        [JsonProperty("start_depth")]
        public int StartDepth { get; set; }

        /// <summary>
        /// 终止深度
        /// </summary>
        [JsonProperty("end_depth")]
        public int EndDepth { get; set; }
    }
}
